package jfrederick8;

import java.awt.BorderLayout;
import javax.swing.JFrame;

/**
 * This class instantiates the object in charge of managing the game and creates the frame for the GUI.
 * 
 * @author John Frederick
 * @version 1.0 - 11 February 2012
 */
public class Main {
	/** This object manages the game's objects */
	private static Distributer dist;
	
	/** calls everything necessary to run the game */
	public static void main(String[] args){
		dist = new Distributer();
		JFrame frame = new JFrame("Test");
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.setLayout(new BorderLayout());
		frame.getContentPane().add(dist.getMainPanel());
		frame.pack();
		frame.setVisible(true);
	}//end method Main
}//end class Main
